package com.teaching.teachingsupport.common.pojo.dto.response;

import lombok.Data;
import java.util.List;

@Data
public class HomeworkScoreDetailResponse {
    private Long homeworkId;
    private Long studentId;
    private Double totalScore;
    private Double maxPossibleScore;
    private Double scorePercentage;
    private List<QuestionScoreDetail> questionScores;

    @Data
    public static class QuestionScoreDetail {
        private Long questionId;
        private String questionType;  // text, single_choice, multiple_choice
        private String questionContent;
        private Double maxScore;
        private Double actualScore;
        private String studentAnswer;
        private Boolean isCorrect;
    }
} 